<div class="box">
	<h1 class="titulo_box"><?php echo $titulo ?></h1>

	<div class="container">
		<form name="form_cadastra_usuario" action="javascript:void(0)" method="post" onsubmit="cadastrar_usuario(this)">
			<fieldset>
				<legend class="label label-info">Dados Sistema</legend>
				<table class="tb_form form1">
					<tr>
						<td class="w30"><label>Nome:<span class="text-error">*</span></label></td>
						<td><input type="text" name="txt_usuario_nome" /></td>
					</tr>
					<tr>
						<td class="w30"><label>Login:<span class="text-error">*</span></label></td>
						<td><input type="text" name="txt_usuario_login" /></td>
					</tr>
					<tr>
						<td class="w30"><label>Senha:<span class="text-error">*</span></label></td>
						<td><input type="password" name="pass_usuario_senha" /></td>
					</tr>
					<tr>
						<td class="w30"><label>Repita a senha:<span class="text-error">*</span></label></td>
						<td><input type="password" name="pass_usuario_senha_repetir" /></td>
					</tr>
					<tr>
						<td class="w30"><label>E-mail:<span class="text-error">*</span></label></td>
						<td><input type="text" name="txt_usuario_email" /></td>
					</tr>
					<tr>
						<td class="w30"><label>Status:<span class="text-error">*</span></label></td>
						<td>
							<label class="radio inline"><input type="radio" name="radio_usuario_status" value="1" <?php echo set_radio('radio_usuario_status', '1', TRUE) ?> />Ativo</label>
							<label class="radio inline"><input type="radio" name="radio_usuario_status" value="0" <?php echo set_radio('radio_usuario_status', '0') ?>/>Inativo</label>
						</td>
					</tr>
					<tr>
						<td class="w30"><label>Recebe aviso?:<span class="text-error">*</span></label></td>
						<td>
							<label class="radio inline"><input type="radio" name="radio_usuario_recebe_aviso" value="1" <?php echo set_radio('radio_usuario_recebe_aviso', '1', TRUE)?> />Sim</label>
							<label class="radio inline"><input type="radio" name="radio_usuario_recebe_aviso" value="0" <?php echo set_radio('radio_usuario_recebe_aviso', '1')?> />Não</label>
						</td>
					</tr>
					<tr>
						<td class="w30"><label>Data admissao:</label></td>
						<td><input type="text" name="txt_usuario_data_admissao" /></td>
					</tr>

				</table>
			</fieldset>

			<fieldset class="separador_top">
				<legend class="label label-info">Dados Pessoais</legend>
				<table class="tb_form form1">
					<tr>
						<td class="w30"><label>Sexo:<span class="text-error">*</span></label></td>
						<td>
							<label class="radio inline"><input type="radio" name="radio_usuario_sexo" value="M" />Masculino</label>
							<label class="radio inline"><input type="radio" name="radio_usuario_sexo" value="F" />Feminino</label>
						</td>
					</tr>
					<tr>
						<td><label>Quantidade filhos:</label></td>
						<td><input type="text" name="txt_usuario_filhos" /></td>
					</tr>

				</table>
			</fieldset>

			<fieldset class="separador_top">
				<legend class="label label-info">Contato</legend>
				<table class="tb_form form1">
					<tr>
						<td class="w30"><label>CEP:</label></td>
						<td><input type="text" name="txt_usuario_cep" /></td>
					</tr>
					<tr>
						<td><label>UF:</label></td>
						<td>
							<select name="select_uf" onChange="get_cidade(this.value, 'select_cidade')">
								<?php echo $option_uf ?>
							</select>
						</td>
					</tr>
					<tr>
						<td><label>Cidade:</label></td>
						<td>
							<select name="select_cidade">
								<option value="">Selecione um uf</option>
							</select>
						</td>
					</tr>
					<tr>
						<td><label>Bairro:</label></td>
						<td>
							<input type="text" name="txt_bairro" />
						</td>
					</tr>
					<tr>
						<td><label>Rua:</label></td>
						<td>
							<input type="text" name="txt_rua" />
						</td>
					</tr>
					<tr>
						<td><label>Número:</label></td>
						<td>
							<input type="text" name="txt_numero" />
						</td>
					</tr>
					<tr>
						<td><label>Telefone:</label></td>
						<td>
							<input type="text" name="txt_telefone" />
						</td>
					</tr>
				</table>
			</fieldset>

			<button type="submit" class="btn btn-mini btn-primary separador_top">Cadastrar</button>
			<button class="btn btn-mini btn-danger separador_top">Cancelar</button>	
			<div id="status_enviando"></div>
		</form>

	</div>

</div>